package ysm.controller;

import java.util.Map;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import ysm.service.CollegeAnalyService;

@RestController
@RequestMapping("user")
public class CollegeAnalyController {
	
	@Autowired
	private CollegeAnalyService collegeAnalyService;
	
	@RequestMapping("/loadGraduateManBygraduate")
	public List loadGraduateManBygraduate(int collage) {
		return collegeAnalyService.loadGraduateManBygraduate(collage);
	}
	
	@RequestMapping("/loadGraduateManBySex")
	public List loadGraduateManBySex(int collage) {
		return collegeAnalyService.loadGraduateManBySex(collage);
	}
	
	@RequestMapping("/loadGraduateManByWork")
	public List loadGraduateManByWork(int collage) {
		return collegeAnalyService.loadGraduateManByWork(collage);
	}
	
	@RequestMapping("/loadGraduateManByIndustrycategory")
	public List loadGraduateManByWorkstyle(int collage) {
		return collegeAnalyService.loadGraduateManByIndustrycategory(collage);
	}

}
